﻿﻿
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>${info.hotel_name}</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <link rel="stylesheet" href="assets/css/style.css">
    <link rel="icon" href="assets/img/favicon.jpg" sizes="32x32">
</head>
<body>
<div class="wrapper">
    <!-- header -->
    <header class="header">
        <div class="header-bottom">
            <nav class="navbar navbar-universal navbar-custom">
                <div class="container">
                    <div class="row">
                        <div class="col-lg-3">
                            <div class="logo">
                                <a href="/desk/welcome" class="navbar-brand page-scroll">
                                    <img width="143px" height="49px" src="/download/${info.icon}" alt="logo">
                                </a>
                            </div>
                        </div>
                        <div class="col-lg-9">
                            <div class="navbar-header">
                                <button type="button" data-toggle="collapse" data-target=".navbar-main-collapse"
                                        class="navbar-toggle"><span class="sr-only">Toggle navigation</span><span
                                        class="icon-bar"></span><span class="icon-bar"></span><span
                                        class="icon-bar"></span></button>
                            </div>
                            <div class="collapse navbar-collapse navbar-main-collapse">
                                <ul class="nav navbar-nav navbar-right">
                                    <li><a href="/desk/welcome">主页</a></li>
                                    <li><a href="javascript:;" style="color: #9CCC65">房间预定</a></li>
                                    <li><a href="/desk/about">关于我们</a></li>
                                    <li><a href="/desk/findOrder">查询预定</a></li>
                                    <%--                                    <li><a href="/desk/login">注册/登录</a></li>--%>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
            </nav>
        </div>
    </header>
    <!-- /header -->
    <!-- breadcrumbs -->
    <section class="breadcrumbs" style="background-image: url(assets/images/breadcrumbs/best-room.jpg)">
        <div class="container">
            <div class="row">
                <div class="col-md-6">
                    <h1 class="h1">房间类型</h1>
                </div>
                <div class="col-md-6">
                    <ol class="breadcrumb">
                        <li><a href="#">主页</a><i class="fa fa-angle-right"></i></li>
                        <li class="active">房间预定</li>
                    </ol>
                </div>
            </div>
        </div>
    </section>
    <!-- /breadcrumbs -->
    <!-- chose best rooms -->
    <section class="gallery best-room">
        <div class="container">
            <h2 class="h2">房间类型</h2>
            <div class="container best-room-carousel">
                <div id="grid" class="row best-room_ul best-rooms-isotope-page">
                    <c:forEach var="m" items="${roomType}">
                        <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12 best-room_li">
                            <div class="best-room_img">
                                <a href="/desk/reserveOne?id=${m.id}">
                                    <c:if test="${empty m.icon}">
                                        <img src="assets/images/best-rooms/1.jpg">
                                    </c:if>
                                    <c:if test="${not empty m.icon}">
                                        <img src="/download/${m.icon}">
                                    </c:if>
                                </a>
                                <div class="best-room_overlay">
                                    <div class="overlay_icn"><a href="/desk/reserveOne?id=${m.id}"></a></div>
                                </div>
                            </div>
                            <div class="best-room-info">
                                <div class="best-room_t"><a href="/desk/reserveOne?id=${m.id}">${m.name}</a></div>
                                <div class="best-room_desc">剩余${m.counts}间</div>
                                <div class="best-room_price">
                                    <span>￥${m.price}</span> / 晚
                                </div>
                                <div class="best-room_footer">
                                    <div class="footer_el __bed"><i class="fa fa-bed"></i> ${m.bednumber}</div>
                                    <div class="footer_el __ppl"><i class="fa fa-user"></i> ${m.peoplenumber}</div>
                                    <div class="footer_el __wifi">${m.iswifi==true?'免费WIFI':'无WIFI'}</div>
                                    <div class="footer_el __area">${m.size}平方</div>
                                    <div class="clearfix"></div>
                                </div>
                            </div>
                        </div>
                    </c:forEach>
                    </ul>
                </div>
            </div>
        </div>
    </section>
    <!-- /choose best rooms -->
    <!-- footer -->
    <footer class="footer">
        <div class="footer-top">
            <div class="container">
                <div class="row">
                    <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
                        <div class="footer-top_logo">
                            <a href="/desk/welcome">
                                <img width="143px" height="49px" src="/download/${info.icon}">
                            </a>
                        </div>
                        <div class="footer-top_txt">
                            <p id="web-footer-intro">${info.hotel_intro_long}</p>
                        </div>
                        <div class="footer-top_address">
                            <div><i class="fa fa-phone"></i> 电话: <span>${info.hotel_phone}</span></div>
                            <div><i class="fa fa-home"></i> 地址: <span>${info.hotel_address}</span></div>
                        </div>
                    </div>
                    <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
                        <div class="footer-top_rooms">
                            <ul>
                                <c:forEach var="m" items="${roomType}" begin="0" end="2">
                                    <li>
                                        <div class="rooms_img">
                                            <a href="/desk/reserveOne?id=${m.id}">
                                                <c:if test="${empty m.icon}">
                                                    <img src="assets/images/footer/1.jpg">
                                                </c:if>
                                                <c:if test="${not empty m.icon}">
                                                    <img src="/download/${m.icon}">
                                                </c:if>
                                            </a>
                                        </div>
                                        <div class="rooms_info">
                                            <div class="rooms_t"><a href="/desk/reserveOne?id=${m.id}">${m.name}</a>
                                            </div>
                                            <div class="rooms_props"><span>￥${m.price}</span></div>
                                        </div>
                                    </li>
                                </c:forEach>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="footer-bottom">
            <div class="container">
                <div class="row">
                    <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
                        <div class="footer-bottom_copy">Copyright &copy; 2020 huayue.com
                        </div>
                    </div>
                    <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
                        <div class="footer-bottom_links">
                            <a href="/desk/welcome">主页</a>
                            <a class="active" href="javascript:;">预定</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </footer>
</div>
<!-- /footer -->
<!-- Scripts -->

<!-- /Scripts -->
</body>
</html>
